package cic;

import junit.framework.Assert;

import org.junit.Test;

public class InsuranceManagerTest {

	@Test
	public void testManager() {
		InsuranceManager man = new InsuranceManager();
		Insurance insur = new Insurance("LT000005", "TOM", 10000000, 2);
		man.addInsurance(insur);
		Assert.assertEquals(insur, man.getInsurance("LT000005"));
		man.delInsurance("LT000005");
		Assert.assertEquals(null, man.getInsurance("LT000005"));
	}

}
